<?php /* Smarty version Smarty-3.0.8, created on 2011-08-26 23:00:23
         compiled from "./templates/tattoo/pocetna.tpl" */ ?>
<?php /*%%SmartyHeaderCode:5668851024e580967a2d269-59657074%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '82469199268022702276c8d77a443bee74cd072f' => 
    array (
      0 => './templates/tattoo/pocetna.tpl',
      1 => 1314392414,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '5668851024e580967a2d269-59657074',
  'function' => 
  array (
  ),
  'has_nocache_code' => false,
)); /*/%%SmartyHeaderCode%%*/?>
<?php if (!is_callable('smarty_modifier_date_format')) include 'class/smarty/plugins/modifier.date_format.php';
?><div class="page">
		<!--Sideshow start-->
                <ul class="slideshow">
                        <li>
                                <a href="#"><img src="<?php echo $_smarty_tpl->getVariable('media')->value;?>
/slideshow/banner01.jpg" width="950" height="420" alt="Tattoo Portal.org" /></a>
                                <div class="caption">
                                        <strong>Fresh New Stories</strong><br />
                                        Lorem ipsum dolor sit amet, consectetur adipiscing elit. Etiam diam quam, malesuada vitae aliquet id, interdum id mauris. Maecenas faucibus sapien dignissim metus dictum in consequat mi posuere.
                                </div>
                        </li>
                        <li>
                                <a href="#"><img src="<?php echo $_smarty_tpl->getVariable('media')->value;?>
/slideshow/banner02.jpg" width="950" height="420" alt="Tattoo Portal.org" /></a>
                                <div class="caption">
                                        <strong>Fresh New Stories</strong><br />
                                        Lorem ipsum dolor sit amet, consectetur adipiscing elit. Etiam diam quam, malesuada vitae aliquet id, interdum id mauris. Maecenas faucibus sapien dignissim metus dictum in consequat mi posuere.
                                </div>
                        </li>
                        <li>
                                <a href="#"><img src="<?php echo $_smarty_tpl->getVariable('media')->value;?>
/slideshow/banner03.jpg" width="950" height="420" alt="Tattoo Portal.org" /></a>
                        </li>
                </ul>
                <!--Sideshow end-->
		<!--Page content start-->
		<div class="sidebar_page">
			<div class="content">
				<!--News rotator-->
				<ul class="news_overview">
				<?php  $_smarty_tpl->tpl_vars['post'] = new Smarty_Variable;
 $_from = $_smarty_tpl->getVariable('posts')->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
if ($_smarty_tpl->_count($_from) > 0){
    foreach ($_from as $_smarty_tpl->tpl_vars['post']->key => $_smarty_tpl->tpl_vars['post']->value){
?>	
                                        <li>
                                            
						<a class="art_image_left" href="#"><img width="160" height="130" src="<?php echo $_smarty_tpl->tpl_vars['post']->value['slika'];?>
" alt="Face Tattoo" /></a>
						<h2><a href="<?php echo $_smarty_tpl->getVariable('url')->value;?>
/?page=magazin_single&p=<?php echo $_smarty_tpl->tpl_vars['post']->value['id'];?>
"><?php echo $_smarty_tpl->tpl_vars['post']->value['naslov'];?>
</a></h2>
						<p class="abstract"><?php echo $_smarty_tpl->tpl_vars['post']->value['tekst'];?>
...</p>
						<p class="autor"><?php echo smarty_modifier_date_format($_smarty_tpl->tpl_vars['post']->value['datum'],"%d.%m.%Y");?>
 <?php echo $_smarty_tpl->tpl_vars['post']->value['username'];?>
</p>
                                            
					</li>
				<?php }} ?>
					<li>
                                
						<h2><a href="#">Ostali tekstovi</a></h2>
                                <?php  $_smarty_tpl->tpl_vars['otherPost'] = new Smarty_Variable;
 $_from = $_smarty_tpl->getVariable('otherPosts')->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
if ($_smarty_tpl->_count($_from) > 0){
    foreach ($_from as $_smarty_tpl->tpl_vars['otherPost']->key => $_smarty_tpl->tpl_vars['otherPost']->value){
?>
						<p class="links">
							<a href="<?php echo $_smarty_tpl->getVariable('url')->value;?>
/?page=magazin_single&p=<?php echo $_smarty_tpl->tpl_vars['otherPost']->value['id'];?>
"><?php echo $_smarty_tpl->tpl_vars['otherPost']->value['naslov'];?>
</a>
							
						</p>
                                <?php }} ?>
					</li>
                               
				</ul>

				<!--Tabbed galleries (last published+last commented)-->
				<div class="tabbed">
					<div class="tabs_hold">
						<a class="current" href="#last_published_gal" rel="inpage">Polsednje objavljeni radovi</a>
						<a href="#last_commented_gal" rel="inpage">Poslednje komentarisani radovi</a>
						<a href="#most_likes_gal" rel="inpage">Najpopularniji radovi</a>
					</div>
					<div class="tabs_cont_hold">
						<div id="last_published_gal" class="tab_cont">
							<div id="last_published" class="clearfix thumb_gall">
                                                                <div class="scrollPanel">
                                                                    <div class="slide">
                                                                    <?php  $_smarty_tpl->tpl_vars['lastPhoto'] = new Smarty_Variable;
 $_from = $_smarty_tpl->getVariable('lastPhotos')->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
if ($_smarty_tpl->_count($_from) > 0){
    foreach ($_from as $_smarty_tpl->tpl_vars['lastPhoto']->key => $_smarty_tpl->tpl_vars['lastPhoto']->value){
?>    
                                                                        <div class="gal_item">
                                                                                <a class="thumb" href="<?php echo $_smarty_tpl->getVariable('url')->value;?>
/?page=galerija_single&photo_id=<?php echo $_smarty_tpl->tpl_vars['lastPhoto']->value['id'];?>
" title="Pogledajte uvećanu sliku"><img src="<?php echo $_smarty_tpl->getVariable('media')->value;?>
/autori/thumbs/<?php echo $_smarty_tpl->tpl_vars['lastPhoto']->value['username'];?>
/<?php echo $_smarty_tpl->tpl_vars['lastPhoto']->value['slika'];?>
" alt="<?php echo $_smarty_tpl->tpl_vars['lastPhoto']->value['naziv'];?>
" /></a>
                                                                                <a class="img_det_user" href="<?php echo $_smarty_tpl->getVariable('url')->value;?>
/?page=profil&clan_id=<?php echo $_smarty_tpl->tpl_vars['lastPhoto']->value['ime'];?>
" title="Pogledajte profil"><?php echo $_smarty_tpl->tpl_vars['lastPhoto']->value['username'];?>
</a>
                                                                        </div>
                                                                    <?php }} ?>    
                                                                   
                                                                    </div>
                                                                    <div class="slide">
                                                                        
                                                                        <?php  $_smarty_tpl->tpl_vars['lastPhoto2'] = new Smarty_Variable;
 $_from = $_smarty_tpl->getVariable('lastPhotos2')->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
if ($_smarty_tpl->_count($_from) > 0){
    foreach ($_from as $_smarty_tpl->tpl_vars['lastPhoto2']->key => $_smarty_tpl->tpl_vars['lastPhoto2']->value){
?>    
                                                                        <div class="gal_item">
                                                                                <a class="thumb" href="<?php echo $_smarty_tpl->getVariable('url')->value;?>
/?page=galerija_single&photo_id=<?php echo $_smarty_tpl->tpl_vars['lastPhoto2']->value['id'];?>
" title="Pogledajte uvećanu sliku"><img src="<?php echo $_smarty_tpl->getVariable('media')->value;?>
/autori/thumbs/<?php echo $_smarty_tpl->tpl_vars['lastPhoto2']->value['username'];?>
/<?php echo $_smarty_tpl->tpl_vars['lastPhoto2']->value['slika'];?>
" alt="<?php echo $_smarty_tpl->tpl_vars['lastPhoto2']->value['naziv'];?>
" /></a>
                                                                                <a class="img_det_user" href="<?php echo $_smarty_tpl->getVariable('url')->value;?>
/?page=profil&clan_id=<?php echo $_smarty_tpl->tpl_vars['lastPhoto2']->value['ime'];?>
" title="Pogledajte profil"><?php echo $_smarty_tpl->tpl_vars['lastPhoto2']->value['username'];?>
</a>
                                                                        </div>
                                                                        <?php }} ?>
                                                                       
                                                                    </div>
                                                               </div>

							</div><!--end of .thumb_gall-->
							<div id="last_published_nav" class="gal_nav">
								<a class="prev" href="#" title="Noviji radovi" rel="noindex, nofollow">Prethodna</a>
								<a class="next" href="#" title="Stariji radovi" rel="noindex, nofollow">Sledeća</a>
							</div>
						</div><!--end of .tab_cont-->

						<div id="last_commented_gal" class="tab_cont">
							<div id="last_commented" class="clearfix thumb_gall">
                                                            <div class="scrollPanel">
                                                            <div class="slide">
                                                            <?php  $_smarty_tpl->tpl_vars['mostCommentedPhoto'] = new Smarty_Variable;
 $_from = $_smarty_tpl->getVariable('mostCommentedPhotos')->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
if ($_smarty_tpl->_count($_from) > 0){
    foreach ($_from as $_smarty_tpl->tpl_vars['mostCommentedPhoto']->key => $_smarty_tpl->tpl_vars['mostCommentedPhoto']->value){
?>
								<div class="gal_item">
									<a class="thumb" href="<?php echo $_smarty_tpl->getVariable('url')->value;?>
/?page=galerija_single&photo_id=<?php echo $_smarty_tpl->tpl_vars['mostCommentedPhoto']->value['id'];?>
" title="Pogledajte uvećanu sliku"><img src="<?php echo $_smarty_tpl->getVariable('media')->value;?>
/autori/thumbs/<?php echo $_smarty_tpl->tpl_vars['mostCommentedPhoto']->value['username'];?>
/<?php echo $_smarty_tpl->tpl_vars['mostCommentedPhoto']->value['slika'];?>
" alt="<?php echo $_smarty_tpl->tpl_vars['mostCommentedPhoto']->value['naziv'];?>
" /></a>
									<a class="img_det_user" href="<?php echo $_smarty_tpl->getVariable('url')->value;?>
/?page=profil&clan_id=<?php echo $_smarty_tpl->tpl_vars['mostCommentedPhoto']->value['ime'];?>
" title="Pogledajte profil"><?php echo $_smarty_tpl->tpl_vars['mostCommentedPhoto']->value['username'];?>
</a>
									<span class="img_det_comments"><?php echo $_smarty_tpl->tpl_vars['mostCommentedPhoto']->value['broj_komentara'];?>
</span>
								</div>
                                                            <?php }} ?>   
                                                            </div>
                                                            <div class="slide">
                                                            <?php  $_smarty_tpl->tpl_vars['mostCommentedPhoto2'] = new Smarty_Variable;
 $_from = $_smarty_tpl->getVariable('mostCommentedPhotos2')->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
if ($_smarty_tpl->_count($_from) > 0){
    foreach ($_from as $_smarty_tpl->tpl_vars['mostCommentedPhoto2']->key => $_smarty_tpl->tpl_vars['mostCommentedPhoto2']->value){
?>
								<div class="gal_item">
									<a class="thumb" href="<?php echo $_smarty_tpl->getVariable('url')->value;?>
/?page=galerija_single&photo_id=<?php echo $_smarty_tpl->tpl_vars['mostCommentedPhoto2']->value['id'];?>
" title="Pogledajte uvećanu sliku"><img src="<?php echo $_smarty_tpl->getVariable('media')->value;?>
/autori/thumbs/<?php echo $_smarty_tpl->tpl_vars['mostCommentedPhoto2']->value['username'];?>
/<?php echo $_smarty_tpl->tpl_vars['mostCommentedPhoto2']->value['slika'];?>
" alt="<?php echo $_smarty_tpl->tpl_vars['mostCommentedPhoto2']->value['naziv'];?>
" /></a>
									<a class="img_det_user" href="<?php echo $_smarty_tpl->getVariable('url')->value;?>
/?page=profil&clan_id=<?php echo $_smarty_tpl->tpl_vars['mostCommentedPhoto2']->value['ime'];?>
" title="Pogledajte profil"><?php echo $_smarty_tpl->tpl_vars['mostCommentedPhoto2']->value['username'];?>
</a>
									<span class="img_det_comments"><?php echo $_smarty_tpl->tpl_vars['mostCommentedPhoto2']->value['broj_komentara'];?>
</span>
								</div>
                                                            <?php }} ?>  
                                                                </div>
                                                                </div>        
							</div><!--end of .thumb_gall-->
                                                        <div id="last_commented_nav" class="gal_nav">
								<a class="prev" href="#" title="Noviji radovi" rel="noindex, nofollow">Prethodna</a>
								<a class="next" href="#" title="Stariji radovi" rel="noindex, nofollow">Sledeća</a>
							</div>
						</div><!--end of .tab_cont-->

						<div id="most_likes_gal" class="tab_cont">
							<div id="most_popular" class="clearfix thumb_gall">
                                                            <div class="scrollPanel">
                                                                <div class="slide">
                                                                <?php  $_smarty_tpl->tpl_vars['mostPopularPhoto'] = new Smarty_Variable;
 $_from = $_smarty_tpl->getVariable('mostPopularPhotos')->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
if ($_smarty_tpl->_count($_from) > 0){
    foreach ($_from as $_smarty_tpl->tpl_vars['mostPopularPhoto']->key => $_smarty_tpl->tpl_vars['mostPopularPhoto']->value){
?>
                                                                    <div class="gal_item">
                                                                            <a class="thumb" href="<?php echo $_smarty_tpl->getVariable('url')->value;?>
/?page=galerija_single&photo_id=<?php echo $_smarty_tpl->tpl_vars['mostPopularPhoto']->value['id'];?>
" title="Pogledajte uvećanu sliku"><img src="<?php echo $_smarty_tpl->getVariable('media')->value;?>
/autori/thumbs/<?php echo $_smarty_tpl->tpl_vars['mostPopularPhoto']->value['username'];?>
/<?php echo $_smarty_tpl->tpl_vars['mostPopularPhoto']->value['slika'];?>
" alt="<?php echo $_smarty_tpl->tpl_vars['mostPopularPhoto']->value['naziv'];?>
" /></a>
                                                                            <a class="img_det_user" href="<?php echo $_smarty_tpl->getVariable('url')->value;?>
/?page=profil&clan_id=<?php echo $_smarty_tpl->tpl_vars['mostPopularPhoto']->value['ime'];?>
" title="Pogledajte profil"><?php echo $_smarty_tpl->tpl_vars['mostPopularPhoto']->value['username'];?>
</a>
                                                                            <span class="img_det_views"><?php echo $_smarty_tpl->tpl_vars['mostPopularPhoto']->value['broj_pregleda'];?>
</span>
                                                                            <span class="img_det_likes"><?php echo $_smarty_tpl->tpl_vars['mostPopularPhoto']->value['broj_skljoceva'];?>
</span>
                                                                            <span class="img_det_comments"><?php echo $_smarty_tpl->tpl_vars['mostPopularPhoto']->value['broj_komentara'];?>
</span>
                                                                    </div>                                                                
                                                                <?php }} ?>
                                                                </div>
                                                                <div class="slide">  
                                                                <?php  $_smarty_tpl->tpl_vars['mostPopularPhoto2'] = new Smarty_Variable;
 $_from = $_smarty_tpl->getVariable('mostPopularPhotos2')->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
if ($_smarty_tpl->_count($_from) > 0){
    foreach ($_from as $_smarty_tpl->tpl_vars['mostPopularPhoto2']->key => $_smarty_tpl->tpl_vars['mostPopularPhoto2']->value){
?>
                                                                    <div class="gal_item">
                                                                                <a class="thumb" href="<?php echo $_smarty_tpl->getVariable('url')->value;?>
/?page=galerija_single&photo_id=<?php echo $_smarty_tpl->tpl_vars['mostPopularPhoto2']->value['id'];?>
" title="Pogledajte uvećanu sliku"><img src="<?php echo $_smarty_tpl->getVariable('media')->value;?>
/autori/thumbs/<?php echo $_smarty_tpl->tpl_vars['mostPopularPhoto2']->value['username'];?>
/<?php echo $_smarty_tpl->tpl_vars['mostPopularPhoto2']->value['slika'];?>
" alt="<?php echo $_smarty_tpl->tpl_vars['mostPopularPhoto2']->value['naziv'];?>
" /></a>
                                                                                <a class="img_det_user" href="<?php echo $_smarty_tpl->getVariable('url')->value;?>
/?page=profil&clan_id=<?php echo $_smarty_tpl->tpl_vars['mostPopularPhoto2']->value['ime'];?>
" title="Pogledajte profil"><?php echo $_smarty_tpl->tpl_vars['mostPopularPhoto2']->value['username'];?>
</a>
                                                                                <span class="img_det_views"><?php echo $_smarty_tpl->tpl_vars['mostPopularPhoto2']->value['broj_pregleda'];?>
</span>
                                                                                <span class="img_det_likes"><?php echo $_smarty_tpl->tpl_vars['mostPopularPhoto2']->value['broj_skljoceva'];?>
</span>
                                                                                <span class="img_det_comments"><?php echo $_smarty_tpl->tpl_vars['mostPopularPhoto2']->value['broj_komentara'];?>
</span>
                                                                    </div>
                                                                <?php }} ?>    
                                                                </div>
                                                              </div>
                                                                </div><!--end of .thumb_gall-->
                                                                <div id="most_popular_nav" class="gal_nav">
                                                                        <a class="prev" href="#" title="Noviji radovi" rel="noindex, nofollow">Prethodna</a>
                                                                        <a class="next" href="#" title="Stariji radovi" rel="noindex, nofollow">Sledeća</a>
                                                                </div>
                                                        </div><!--end of .tab_cont-->

					</div><!--end of .tabs_cont_hold-->
				</div>

				<!-- Page bottom blocks -->
				<div class="cols3" id="botom_boxes">
					<div class="col"><?php echo $_smarty_tpl->getVariable('pool')->value;?>
</div>
					<div class="col"><?php $_template = new Smarty_Internal_Template("games.tpl", $_smarty_tpl->smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null);
 echo $_template->getRenderedTemplate(); $_template->rendered_content = null;?><?php unset($_template);?></div>
					<div class="col"><?php $_template = new Smarty_Internal_Template("chat.tpl", $_smarty_tpl->smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null);
 echo $_template->getRenderedTemplate(); $_template->rendered_content = null;?><?php unset($_template);?></div>
				</div>

			</div>
			<!--Content end (.content)-->
			<div class="sidebar">
                            <div id="banners">
                                <a href="#" title="Tattoo Konvencija Skoplje (video)" target="_blank"><img src="<?php echo $_smarty_tpl->getVariable('media')->value;?>
/baneri/Tattoo-2011.jpg" alt="Tattoo Konvencija" /></a>
                                <a href="#" title="InkFusion Tattoo" target="_blank"><img src="<?php echo $_smarty_tpl->getVariable('media')->value;?>
/baneri/inkfusion.JPG" alt="InkFusion" /></a>
                                <a href="#" title="BL Tattoo" target="_blank"><img src="<?php echo $_smarty_tpl->getVariable('media')->value;?>
/baneri/rrrrrrr.JPG" alt="BL Tattoo" /></a>
                                <a href="#" title="Sniper Tattoo" target="_blank"><img src="<?php echo $_smarty_tpl->getVariable('media')->value;?>
/baneri/sniper.JPG" alt="Sniper Tattoo" /></a>
                                <a href="#" title="Tattoo 018" target="_blank"><img src="<?php echo $_smarty_tpl->getVariable('media')->value;?>
/baneri/tattoo018 2.jpg" alt="Tattoo 018" /></a>
                                <a href="#" title="Tattoo Studio TRN" target="_blank"><img src="<?php echo $_smarty_tpl->getVariable('media')->value;?>
/baneri/trn.JPG" alt="Tattoo Studio TRN" /></a>
                                <a href="#" title="Your Mind Studio" target="_blank"><img src="<?php echo $_smarty_tpl->getVariable('media')->value;?>
/baneri/your.JPG" alt="Your Mind Studio" /></a>
                                <a href="#" title="Zix Tattoo" target="_blank"><img src="<?php echo $_smarty_tpl->getVariable('media')->value;?>
/baneri/zix banner.jpg" alt="Zix Tattoo" /></a>
                        </div>
                        </div>
		</div>
		<!--Page content end (.sidebar_page)-->
	</div>